﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DnDCharacterBuilder
{
    public partial class PDFViewer : UserControl
    {
        public PDFViewer(string pdfPath)
        {
            InitializeComponent();
            this.axAcroPDF1.LoadFile(pdfPath);
        }

        public void Nav(int page)
        {            
            this.axAcroPDF1.setCurrentPage(page);
        }
    }
}
